﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Geometry
{
    public class RPoint2D : IPoint,IColor
    {
        public double R { get; set; }
        public double Theta { get; set; }
        public void Reset()
        {
            R = 0;
            Theta = 0;
        }

        public double Distance
        {
            get 
            { 
                return R; 
            }
        }

        public Color Color
        {
            get;
            set;
        }
    }
}
